// apis/index.js
export const apiGetBanner =()=>{
	return uni.request({
		url: "https://tea.qingnian8.com/api/bizhi/homeBanner",
	})
}

export const apiGetDayRandom =()=>{
	return uni.request({
			url: "https://tea.qingnian8.com/api/bizhi/randomWall",
		})
}


export const apiGetPromes =(data={})=>{
		return	uni.request({
			url: "https://tea.qingnian8.com/api/bizhi/wallNewsList",
			data
		})
}


export const apiGetClassify =(data={})=>{
	return uni.request({
		url:"https://tea.qingnian8.com/api/bizhi/classify",
		data
	})
}


export const apiGetClassList =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/wallList',
	data
   })
}

export const apisetupScore =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/setupScore',
	data
   })
}


export const apiWriteDownload =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/downloadWall',
	data
   })
}


export const apiDetailWall =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/detailWall',
	data
   })
}

// 获取用户个人信息

export const apiUserInfo =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/userInfo',
	data
   })
}

// 下载历史
export const apiGetHistoryList =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/userWallList',
	data
   })
}

// 壁纸咨询公告
export const apiNoticeDetail =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/wallNewsDetail',
	data
   })
}

// 获取搜索记录
export const apiSearchData =(data={})=>{
   return uni.request({
   	url:'https://tea.qingnian8.com/api/bizhi/searchWall',
	data
   })
}
